package com.wing.productionPlan.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wing.productionPlan.model.entity.DemandPlan;
import com.wing.productionPlan.model.request.AuditRecordForm;
import com.wing.productionPlan.model.response.AuditRecordVO;
import com.wing.productionPlan.model.response.CustomerCataLogVo;
import com.wing.productionPlan.model.response.DemandPlanCollectionVO;
import com.wing.productionPlan.model.response.DemandPlanVO;
import com.wing.web.excel.DemandPlanExcelln;

import java.util.List;
import java.util.Map;

/**
 * 需求计划表-Service
 *
 * @author
 */
public interface DemandPlanService extends IService<DemandPlan> {

    public Page<DemandPlanVO> pageList4app(Page<DemandPlanVO> pg, Map map);

    public DemandPlanVO get4appById(Long id);

    public void importExcel(List<DemandPlanExcelln> list);

    List<CustomerCataLogVo> getCustomerInfoAndSkuInfo();

    /**
     * 需求计划汇总
     * @param pg
     * @param map
     * @return
     */
    Page<DemandPlanCollectionVO> pageListCollection4app(Page<DemandPlanCollectionVO> pg, Map map);
}
